import 'package:lovify/models/message.dart';

import 'base_service.dart';

class MessageService extends BaseService<Message> {
  MessageService()
      : super(
          endpoint: '/message',
          toJson: (message) => message.toJson(),
          fromJson: (json) => Message.fromJson(json as Map<String, dynamic>),
        );
}
